package com.sharemarking.wa.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharemarking.wa.common.entity.OrgVerifyAttachment;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author dxy
 */
@Repository
public interface OrgVerifyAttachmentMapper extends BaseMapper<OrgVerifyAttachment> {
    @Select("SELECT attachment FROM wa_org_verify_attachment WHERE org_verify_id = #{id} AND type = 0")
    List<String> getAttachment(Integer id);
}
